﻿using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.BaseData.Command.BOMCommand
{
    public class AddCodeCommand:IRequest<APIRequst<int>>
    {
        /// <summary>
        /// 父级编号
        /// </summary>
        public int ParentBomId { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public int BomId { get; set; }
        /// <summary>
        /// BOM编码(产品物料表)
        /// </summary>
        public string? Materialcode { get; set; }
        /// <summary>
        /// BOM名称(产品物料表)
        /// </summary>
        public string? Bname { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public decimal version { get; set; }
        /// <summary>
        /// 用量
        /// </summary>
        public int UseNum { get; set; }
        /// <summary>
        /// BOM 描述
        /// </summary>
        public string? describe { get; set; }

        public string? CreateName { get; set; }

        public DateTime? CreateTime { get; set; }
    }
}
